{
    type myNonNullable<T> = T extends undefined | null ? never : T;

    type testNonNullable = myNonNullable<"North" | null | "West" | "East" | "South" | null | undefined | string[]>
}